home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / c / ferror.man < prev    next >
Encoding:
Text File  |  1989-04-21  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. FERROR                C Library Procedures                 FERROR
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      ferror, feof, clearerr, fileno - stream status inquiries
  10.  
  11. SSYYNNOOPPSSIISS
  12.      ##iinncclluuddee <<ssttddiioo..hh>>
  13.  
  14.      ffeeooff((ssttrreeaamm))
  15.      FFIILLEE **ssttrreeaamm;;
  16.  
  17.      ffeerrrroorr((ssttrreeaamm))
  18.      FFIILLEE **ssttrreeaamm
  19.  
  20.      cclleeaarreerrrr((ssttrreeaamm))
  21.      FFIILLEE **ssttrreeaamm
  22.  
  23.      ffiilleennoo((ssttrreeaamm))
  24.      FFIILLEE **ssttrreeaamm;;
  25.  
  26. DDEESSCCRRIIPPTTIIOONN
  27.      _F_e_o_f returns non-zero when end of file is read on the named
  28.      input _s_t_r_e_a_m, otherwise zero.  Unless cleared by _c_l_e_a_r_e_r_r,
  29.      the end-of-file indication lasts until the stream is closed.
  30.  
  31.      _F_e_r_r_o_r returns non-zero when an error has occurred reading
  32.      or writing the named _s_t_r_e_a_m, otherwise zero.  Unless cleared
  33.      by _c_l_e_a_r_e_r_r, the error indication lasts until the stream is
  34.      closed.
  35.  
  36.      _C_l_e_a_r_e_r_r resets the error and end-of-file indicators on the
  37.      named _s_t_r_e_a_m.
  38.  
  39.      _F_i_l_e_n_o returns the integer file descriptor associated with
  40.      the _s_t_r_e_a_m, see _o_p_e_n(2).
  41.  
  42.      Currently all of these functions are implemented as macros;
  43.      they cannot be redeclared.
  44.  
  45. SSEEEE AALLSSOO
  46.      fopen(3S), open(2)
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0               May 14, 1986                          1
  64.  
  65.  
  66.  
  67.